package com.translate.web.service;
import java.math.BigDecimal;
import java.util.List;

import com.basic.service.contract.IBaseService;
import com.translate.entity.PreStoredRewardsConf;
import com.translate.vo.contract.IPreStoredRewardsConfVO;

public interface IPreStoredRewardsConfService extends IBaseService<PreStoredRewardsConf> { 

	/**
	 * 获取活动管理
	 * @param <VO>
	 * @param target
	 * @return
	 */
	<VO extends IPreStoredRewardsConfVO> List<VO> getListFromCache(Class<VO> target); 
	
	/**
	 * 根据金额获取奖励配置
	 * @param money
	 * @return
	 */
	PreStoredRewardsConf getPreStoredRewardsConf(BigDecimal money);
	
	/**
	 * 获取奖励
	 * @param money
	 * @return
	 */
	String getReward(BigDecimal money, int rewardType);
	
}
